# Maintainer: Saijin-Naib <Saijin-Naib_package-maintenance@outlook.com>
pkgname=xfce4-mixer
pkgver=4.18.1
pkgrel=2
pkgdesc="volume control for the xfce desktop"
url="https://docs.xfce.org/apps/xfce4-mixer/start"
arch="all"
license="GPL-2.0-or-later"
makedepends="
	gstreamer-dev
	keybinder3-dev
	libxfce4ui-dev
	pulseaudio-dev
	xfce4-panel-dev
	"
subpackages="$pkgname-doc $pkgname-lang"
source="https://archive.xfce.org/src/apps/xfce4-mixer/${pkgver%.*}/xfce4-mixer-$pkgver.tar.bz2"

build() {
	./configure \
		--host=$CHOST \
		--build=$CBUILD \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
9123f1fca2f95687a0d9a1eeac435082956943f67e972331eab50534f8f44a8ed244e917bcaf19ca752ffdbbafb41435292c29cdbb85ad02107fc9cec31a652c  xfce4-mixer-4.18.1.tar.bz2
"
